public class MethodDemo02
{
	public static void main(String[] args) {
		int sum = addInt(1,2);
		float sum_float = addFloat(1.1,2.2);
		
		System.out.println("sum："+sum);
		System.out.println("sum_float："+sum_float);
	}
	public static int addInt(int a,int b)
	{
		return a+b;
	}
	public static float addFloat(float a,float b)
	{
		return a+b;
	}
	
}
